package top.xin1901.j2ecd.service;

import top.xin1901.j2ecd.beans.Type;

import java.util.List;

/**
 * @author HeYunjia
 */

public interface TypeService {
    Type insertOne(Type type);

    Integer deleteOne(Long typeId);

    Type updateOne(Type type);

    List<Type> selectAll();

    Type selectOne(Long typeId);
}
